<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Welcome to School Home</title>
<link href="css/home.css" type="text/css" rel="stylesheet" />
<link href="css/student.css" type="text/css" rel="stylesheet" />
<link href="css/calendar.css" type="text/css" rel="stylesheet" />

<script type="text/javascript" src="js/simple.js"> </script>
<script type="text/javascript" src="js/calendar.js"> </script>

</head>
<body onload="check()">
<div id="container">

<div id="header_section">
<jsp:include page="jsp/header/home_header.jsp"></jsp:include>
</div>

<div id="home">
		
	<div style="width: 75%;height:26px; border: 1px solid #007FFF;text-align: center;">
		<jsp:include page="jsp/menu/student_menu.jsp"></jsp:include>
	</div>
	
	<div style="float: right; width: 23.5%;height:24px; border: 1px solid #007FFF; margin-top: -28px;">
				<div id="welcome"><b style="color: yellow;"><i>Welcome! &nbsp;<strong style="color: #FFA500">${sessionScope.id}</strong></i></b>
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="action.home?cmd=exit" style="color: #00FA9A">Logout</a></div>
	</div>
</div>


<div id="left_menu">
	
<!--	<jsp:include page="jsp/menu/student_vertical_menu.jsp"></jsp:include>-->
<!--	<center><img align="middle" src="images/${sessionScope.id }.png" alt="Profile Picture" height="220px" width="180px" style="margin-top: 0px;"/></center>-->
</div>

<div id="main_body">
	<c:choose>
		<c:when test="${requestScope.viewStudAssignment == true}">
			<jsp:include page="jsp/student/view_student_assignment.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.viewStudAttendance == true}">
			<jsp:include page="jsp/student/view_student_attendance.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.viewStudFeesDetails == true}">
			<jsp:include page="jsp/student/view_student_fees_details.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.viewStudProfiles == true}">
			<jsp:include page="jsp/student/view_student_profile.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.viewStudReportcard == true}">
			<jsp:include page="jsp/student/view_student_reportcard.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.viewStudTimeTable == true}">
			<jsp:include page="jsp/student/view_student_time_table.jsp"></jsp:include>
		</c:when>
		<c:when test="${requestScope.viewExamDateSheet == true}">
			<jsp:include page="jsp/student/view_exam_datesheet.jsp"></jsp:include>
		</c:when>
				
		
		
		
		
		<c:otherwise>
			<jsp:include page="jsp/student/student_welcome.jsp"></jsp:include>
		</c:otherwise>
	</c:choose>


</div>

</div>

<div id="footer_section">
<jsp:include page="jsp/footer/footer.jsp"></jsp:include>
</div>

</body>
</html>